﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace HouseControl
{
    /// <summary>
    /// Interaction logic for HouseControl.xaml
    /// </summary>
    public partial class House_Control : Window
    {
        public House_Control()
        {
            InitializeComponent();
        }

        private void btnCadastrarCliente_Click(object sender, RoutedEventArgs e)
        {
            CadastrarClientes cadastrarClientes = new CadastrarClientes();
            cadastrarClientes.ShowDialog();
        }

        private void btnAdicionarTempo_Click(object sender, RoutedEventArgs e)
        {
            Adicionar_Tempo adicionarTempo = new Adicionar_Tempo();
            adicionarTempo.ShowDialog();
        }

        private void btnConfiguracoes_Click(object sender, RoutedEventArgs e)
        {
            Configuracoes configuracoes = new Configuracoes();
            configuracoes.ShowDialog();
        }

        private void btnDeslogar_Click(object sender, RoutedEventArgs e)
        {
            Usuario usuario = new Usuario();
            usuario.Deslogar();
            this.Close();

        }

        private void btnVenda_Click(object sender, RoutedEventArgs e)
        {
            Tela_Vendas tela_vendas = new Tela_Vendas();
            tela_vendas.ShowDialog();
        }

        private void btnCaixa_Click(object sender, RoutedEventArgs e)
        {
            Tela_Caixa tela_caixa = new Tela_Caixa();
            tela_caixa.ShowDialog();
        }

        

        
    }
}
